package com.sumainfor.pc.dev.feign.Zfeign;


import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.dev.fallback.Zfallback.ZzuulFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;



/**
 * 调用网关服务
 */
@FeignClient(name = "tANGNEST-ZUUl", fallback = ZzuulFallback.class)
public interface ZzuulFeign {

    /**
     * 根据公司编号查询所在市编号
     */
    @PostMapping("/provider/sysDept/getDeptList")
    JsonResult getDeptList();
}
